﻿(function($) {
    if ( !$.manager )
        $.manager = {};
    $.manager = {
		callback_func : null,

        fileopen : function( filetype, callback )
        {
			callback_func = callback;
			window.open("/manager/file/fileuploader.aspx?filetype=" + filetype + "&callback=" + callback, "FileUploader", "width=400, height=200, scrollable=false");
        },
        
        postopen : function(callback)
        {
			window.open("/popup/pop_address.aspx?callback=" + callback, "addrsearch", "width=420, height=500, scrollbars=1");
        }
    }
})(jQuery);